package com.vhall.component.entity.interactive.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author yongzheng.xu
 * @date 2021/5/11 18:55
 */
@Data
public class QuestionListStatReqVO implements Serializable {

    @ParamName("room_id")
    private String roomId;

    @ParamName("page")
    private Integer page = 1;

    @ParamName("page_size")
    private Integer pageSize = 10;

    @NotBlank(message = "参数错误")
    @ParamName("app_id")
    private String appId;

    @NotNull(message = "参数错误")
    @ParamName(value = "account_id")
    private Integer accountId;

    /**
     * 格式：2019-08-01
     */
    @NotBlank(message = "参数错误")
    @ParamName(value = "start_time")
    private String beginDate;

    @NotBlank(message = "参数错误")
    @ParamName(value = "end_time")
    private String endDate;


}
